package com.example.testspringbootstater.enume;


import com.example.testspringbootstater.constants.IdGenConstants;

/**
 * @Author: fan
 * @CreateTime 2024/7/25 9:38
 * @Description
 * @Version 1.0
 */
public enum IdGenTypeEnum {

    /**
     * UUID
     */
    UUID(IdGenConstants.UUID),

    /**
     * 雪花算法
     */
    SNOWFLAKE(IdGenConstants.SNOWFLAKE);

    private String type;

    IdGenTypeEnum(String type) {
        this.type = type;
    }

    public String getType() {

        return type;
    }
}
